package com.hzzy.entity;

import java.util.List;

/**
 * 用于显示菜单树形列表所需要的参数
 * @author hjb
 * 2016年5月24日
 */
public class MenuEntity {
	
	private String text;	// 显示的名称
	private String parent;  // 父节点名称
	private List<MenuEntity> nodes;	// 子节点
	
	private String menuId;	// 菜单id 
	private boolean checked; //是否以选中
	
	private String errorMsg;	//错误信息
	
	
	public MenuEntity(String errorMsg) {
		super();
		this.errorMsg = errorMsg;
	}
	public MenuEntity() {
		super();
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public List<MenuEntity> getNodes() {
		return nodes;
	}
	public void setNodes(List<MenuEntity> nodes) {
		this.nodes = nodes;
	}
	public String getMenuId() {
		return menuId;
	}
	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
	
	
}
